
import 'package:flutter/material.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBNetWorkModule/YBBaseMineNetWork/YBBaseMineNetWork.dart';

class YBSettingPingBiProvider with ChangeNotifier {

  List settingPingBiList = List();

  RefreshController easyRefresh = RefreshController();


  void getSettingPingBi(String type) {
     YBMineNetWork.mineSettingMyPingBiData({
       "sysCode":"xg_youbang",
       "type":type,
     },success: (data){
       print('object------$data');
       easyRefresh.refreshCompleted();

     },fail: (error){
        print('object------$error');
     });
  }

}